<div class="table_con">
	<table>
    	<tr class="tb_title">
        	<td width="10%">ID</td>
            <td width="30%">用户名</td>
            <td width="30%">拥有角色</td>
            <td width="30%">操作</td>
        </tr>
        <#list userList as user>
	        <tr>
	        	<td width="10%">${user.id?if_exists}</td>
	            <td width="30%">${user.userName?if_exists}</td>
	            <td width="30%">
		            <#list user.roleList as role>
		            	${role.roleName}&nbsp;
		            </#list>
	            </td>
	            <td width="30%">
	                <input class="btn btn-info" type="button" onclick="preEditUserFn('${user.id}');" value="编辑" />
	                <input class="btn btn-danger" type="button" onclick="removeUser('${user.id}');" value="删除" />
	            </td>
	        </tr>
        </#list>
    </table>
	
	<#if (userList?size = 0)>
	  	<center>	
	  		<br/>
	  		暂无记录
		</center>
	</#if>
	
</div>


<#include "common/admin_paging.ftl">
